package app.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
//与前端交互返回的数据类
public class ResultResponse{
    //状态码
    private  Integer code;
    //状态消息
    private String message;
    //状态
    private Integer state;
    //数据
    private Object data;
}
